home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
biz
/
dbase
/
db.lha
/
Examples
/
ARexxDemos
/
timefield.db
< prev
next >
Wrap
Text File
|
1994-11-20
|
281b
|
12 lines
/* Rexxprogram for db to convert a field to a "time field".
* By Anders Callertun 1994
*/
options results
GETFIELD
time = result
if pos(':',time)=0 & length(time)<5 then do
if length(time)<3 then time = right(time,3,'0')
PUTFIELD left(time,length(time)-2)':'right(time,2)
end